<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>scroll</title>
<!-- Bootstrap core CSS -->
<link href="../../asserts/bootstrap-3.3.0/css/bootstrap.min.css" rel="stylesheet">
<!--lib js  -->
<script type="text/javascript" src="../../asserts/jquery-1.11.3/jquery.min.js"></script>
<!-- js加载器 -->
<script type="text/javascript" src="../../src/core/jui.config.js"></script>
<script type="text/javascript" src="../../src/loader/loader.js"></script>
<script type="text/javascript" src="gridData.js"></script>

</head>
<body>

<div style="width:500px;">
	<div id="grid"></div>
</div>


<script type="text/javascript">

JUI
.dir('../../src/') // 设置JS存放根目录
.use('Grid',function(){
	grid = new JUI.Grid({
		renderId:'grid'
		,data : gridData
		,striped:true // 斑马线
		,columns : [ [
			{
				field : 'cityName',
				title : '城市'
				,width:200
			},
			{
				field : 'mobile',
				title : '手机号'
				,width:200
			},
			{
				field : 'address',
				title : '地址'
				,width:200
			},
			{
				field : 'createDate',
				title : '创建时间'
					,width:200
			}
			] 
		]
	});
});



</script>
</body>
</html>